package cn.kgc.crowdfundingadmin2.service;

import cn.kgc.crowdfundingadmin2.pojo.Admin;
import cn.kgc.crowdfundingadmin2.pojo.AdminExample;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminService {
    Admin login(String loginAcct, String userPswd);
    //分页查询
    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
    //删除
    void remove (List<Integer> admins);
    //新增
    public void saveAdmin(Admin admin);
    //获取id传数据
    public Admin getAdminById(Integer adminId);
    //修改
    public void updateAdmin(Admin admin);
}
